package cn.itcast.sys.service;

import cn.itcast.goods.vo.DishOverViewVO;
import cn.itcast.goods.vo.SetmealOverViewVO;
import cn.itcast.orders.vo.OrderOverViewVO;
import cn.itcast.sys.vo.BusinessDataVO;

import java.time.LocalDateTime;
import java.util.Map;

public interface WorkspaceService {

    /**
     * 查询今日运营数据
     * @return
     */
    BusinessDataVO businessData();

    /**
     * 查询订单管理数据
     * @return
     */
    OrderOverViewVO overviewOrders();

    /**
     * 查询菜品总览
     * @return
     */
    DishOverViewVO overviewDishes();

    /**
     * 查询套餐总览
     * @return
     */
    SetmealOverViewVO overviewSetmeals();

    /**
     * 查询业务数据
     * @param start
     * @param end
     * @return
     */
    Map<String, Map<String, Object>> businessDataMap(LocalDateTime start, LocalDateTime end);
}
